package DesignPatern.A14_迭代器模式.QSB.A01_问题;

import java.util.ArrayList;

/**
 * @Author: Du
 * @Date: 2021/8/2 8:12
 */
public class A01_Main
{
    public static void main(String[] args)
    {
        ArrayList<IProject> list = new ArrayList<>();
        
        list.add(new Project("项目1", 10, 1000));
        list.add(new Project("项目2", 110, 11000));
        list.add(new Project("项目3", 1110, 111000));
        
        for (IProject iProject : list)
        {
            System.out.println(iProject.getProjectInfo());
        }
    }
}
